import request from "../../utils/request.js"

const api_name = "/admin/product/"

export default {
    getCategory1(id){
        return request.get(`${api_name}/getCategory1`)
    },
    getCategory2(category1Id){
        return request.get(`${api_name}/getCategory2/${category1Id}`)
    },
    getCategory3(category2Id){
        return request.get(`${api_name}/getCategory3/${category2Id}`)
    }
}